package java19;

public class Cust {
	String[] custs = new String[20];

	public void custName(String name) {
		for (int i = 0; i < custs.length; i++) {
			if (custs[i] == null) {
				custs[i] = name;
				break;
			}
		}
	}

	public void showName() {
		for (int i = 0; i < custs.length; i++) {
			if (custs[i] != null) {
				System.out.print(custs[i] + "\t");
			}

		}
	}
}
